Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Support table logging for mlflow, too #1506

Merged
merged 4 commits into from
Apr 9, 2024

Conversation

DavidFarago
Copy link
Contributor

@DavidFarago DavidFarago commented Apr 9, 2024

Description

Create a LogPredictionCallback for both "wandb" and "mlflow" if specified.

In log_prediction_callback_factory, create a generic table and make it specific only if the newly added logger argument is set to "wandb" resp. "mlflow".

See #1505

Motivation and Context

We are using MLFlow, not Weights & Biases, and would like to use the feature #490 for MLFlow.

How has this been tested?

I am happy to add some test case if necessary, but I would need help pointing me to the right pytest file to add a test case that does specify "mlflow".

Types of changes

Social Handles (Optional)

dball9 on discord

Create a `LogPredictionCallback` for both "wandb" and "mlflow" if
specified.

In `log_prediction_callback_factory`, create a generic table and make it
specific only if the newly added `logger` argument is set to "wandb"
resp. "mlflow".

See axolotl-ai-cloud#1505
@winglian winglian merged commit 057fa44 into axolotl-ai-cloud:main Apr 9, 2024
7 checks passed
djsaunde pushed a commit that referenced this pull request Dec 17, 2024
* WIP: Support table logging for mlflow, too

Create a `LogPredictionCallback` for both "wandb" and "mlflow" if
specified.

In `log_prediction_callback_factory`, create a generic table and make it
specific only if the newly added `logger` argument is set to "wandb"
resp. "mlflow".

See #1505

* chore: lint

* add additional clause for mlflow as it's optional

* Fix circular imports

---------

Co-authored-by: Dave Farago <[email protected]>
Co-authored-by: Wing Lian <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants